package com.eyedsion.his.web.entity.businessdata;

import com.eyedsion.his.web.entity.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author 彭长云
 * @Description:
 * @date 2018/12/14 16:14
 */
@Entity
@Table(name = "odoc_visit_record")
    public class OdocVisitRecord extends BaseEntity{
    @Id
    private String code;//就诊序号PK [CODE, VARCHAR2, 32]
    private String registerCode;//挂号序号 [REGISTER_CODE, VARCHAR2, 32]
    private String patientCode;//病人编码 [PATIENT_CODE, VARCHAR2, 32]
    private String opDepartCode;//就诊科室 [OP_DEPART_CODE, VARCHAR2, 32]
    private String opDoctorCode;//就诊医生 [OP_DOCTOR_CODE, VARCHAR2, 32]
    private String visitType;//就诊类别;1初诊2复诊 [VISIT_TYPE, VARCHAR2, 1]
    private String isObservation;//是否入观; 1 是 2否 [IS_OBSERVATION, VARCHAR2, 1]
    private String odCondition;//门诊情况; 1-一般 2-危 3-急4其他 [OD_CONDITION, VARCHAR2, 1]
    private String symptomDesc;//症状描述 [SYMPTOM_DESC, VARCHAR2, 256]
    private String allergyHistory;//过敏史 [ALLERGY_HISTORY, VARCHAR2, 256]
    private String chronicCodes;//慢性病编码;多个编码用逗号 [CHRONIC_CODES, VARCHAR2, 256]
    private String specialTreat;//特殊治疗 [SPECIAL_TREAT, VARCHAR2, 128]
    private String remark;//备注 [REMARK, VARCHAR2, 256]
    private String createUser;//创建人 [CREATE_USER, VARCHAR2, 32]
    private Date createTime;//创建时间;就诊时间 [CREATE_TIME, DATE, 7]
    private Date updateTime;//更新时间 [UPDATE_TIME, DATE, 7]
    private String editFlag;//修改标志1未修改2已修改(手动修改了就诊记录) [EDIT_FLAG, VARCHAR2, 1]

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRegisterCode() {
        return registerCode;
    }

    public void setRegisterCode(String registerCode) {
        this.registerCode = registerCode;
    }

    public String getPatientCode() {
        return patientCode;
    }

    public void setPatientCode(String patientCode) {
        this.patientCode = patientCode;
    }

    public String getOpDepartCode() {
        return opDepartCode;
    }

    public void setOpDepartCode(String opDepartCode) {
        this.opDepartCode = opDepartCode;
    }

    public String getOpDoctorCode() {
        return opDoctorCode;
    }

    public void setOpDoctorCode(String opDoctorCode) {
        this.opDoctorCode = opDoctorCode;
    }

    public String getVisitType() {
        return visitType;
    }

    public void setVisitType(String visitType) {
        this.visitType = visitType;
    }

    public String getIsObservation() {
        return isObservation;
    }

    public void setIsObservation(String isObservation) {
        this.isObservation = isObservation;
    }

    public String getOdCondition() {
        return odCondition;
    }

    public void setOdCondition(String odCondition) {
        this.odCondition = odCondition;
    }

    public String getSymptomDesc() {
        return symptomDesc;
    }

    public void setSymptomDesc(String symptomDesc) {
        this.symptomDesc = symptomDesc;
    }

    public String getAllergyHistory() {
        return allergyHistory;
    }

    public void setAllergyHistory(String allergyHistory) {
        this.allergyHistory = allergyHistory;
    }

    public String getChronicCodes() {
        return chronicCodes;
    }

    public void setChronicCodes(String chronicCodes) {
        this.chronicCodes = chronicCodes;
    }

    public String getSpecialTreat() {
        return specialTreat;
    }

    public void setSpecialTreat(String specialTreat) {
        this.specialTreat = specialTreat;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getEditFlag() {
        return editFlag;
    }

    public void setEditFlag(String editFlag) {
        this.editFlag = editFlag;
    }
}
